using System;
using System.Collections.Generic;
using ns26;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("DebugConsoleBroadcaster")]
	public class DebugConsoleBroadcaster : MonoClass
	{
		public List<byte> m_RequestBytes => method_3<Class250<byte>>("m_RequestBytes")?.method_25();

		public bool m_started => method_2<bool>("m_started");

		public static TimeSpan Interval => MonoClass.smethod_6<TimeSpan>(TritonHs.MainAssemblyPath, "", "DebugConsoleBroadcaster", "Interval");

		public DebugConsoleBroadcaster(IntPtr address, string className)
			: base(address, className)
		{
		}

		public DebugConsoleBroadcaster(IntPtr address)
			: this(address, "DebugConsoleBroadcaster")
		{
		}

		public void Start(int destinationPort, string broadCastResponse)
		{
			method_8("Start", destinationPort, broadCastResponse);
		}

		public void Stop()
		{
			method_8("Stop");
		}

		public void OnSendTo(IAsyncResult ar)
		{
			method_8("OnSendTo", ar);
		}
	}
}
